package com.vitamo.client;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.vitamo.Beans.UtilisateurB;


/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
	String greetServer(String name) throws IllegalArgumentException;
	String connect(String username,String pwd) throws IllegalArgumentException;
	String Verifier(String username) throws IllegalArgumentException;	
	String CreerUtilisateur(String username,String pwd,String type,String nom,String prenom,String adress,String email,String numt,String numf,String nump) throws IllegalArgumentException;
	List<UtilisateurB> getUtilisateurs() throws IllegalArgumentException;
	Boolean modifier(UtilisateurB U) throws IllegalArgumentException;
	Boolean EnregistrerChange(List<UtilisateurB> l)throws IllegalArgumentException;
	List<UtilisateurB> rechercher(String key) throws IllegalArgumentException;
}
